package com.jz.storeroomclass.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by WISE on 2021/12/27.
 */
@Data
public class StoreroomUpdateVo<T> {
    @NotNull(message = "ID不能为空")
    private Integer id;
    @NotBlank(message = "库房名称不能为空")
    private String name;
//    @NotBlank(message = "库房编码不能为空")
//    private String code;
    private String remark;
    @NotBlank(message = "详细地址不能为空")
    private String detailAddress;
    @NotNull(message = "状态不能为空")
    private boolean status;
    @NotNull(message = "库房标识不能为空")
    private String warehouseTagCode;
    @NotNull(message = "地区名称不能为空")
    private String areaName;
}
